import { Tag as AntdTag } from 'antd';
import React from 'react';
import CheckableTag from './CheckableTag';

import type { TagProps as AntdTagProps } from 'antd';
export type { TagType } from 'antd';
export type { Props as CheckableTagProps } from './CheckableTag';
export { CheckableTag };

export type TagProps = AntdTagProps;

function Tag(props: TagProps) {
  return <AntdTag {...props} />;
}
Tag.CheckableTag = CheckableTag;
export default Tag;
